<td id="edit_dine" colspan="4">
  <%remote_form_for(@dine) do |f|%>
      <div id="errors" style="display:none">
      </div>
      <br/>
      <%=hidden_field_tag 'event',params[:event_id]%>
      <div class="fields text_fields">
        <%= f.label :name,"宴请名称" %><%= f.text_field :name %><br clear="all"/>
      </div>
      <div class="fields text_fields">
        <%= f.label :location,'宴请地点' %><%= f.text_field :location %><br clear="all"/>
      </div>
      <div class="fields text_fields">
        <%= f.label :occurs_on,'宴请时间' %><%= f.datetime_select :occurs_on %><br clear="all"/>
      </div>
      <div class="fields select_fields">
          <%= f.label :occurs_on,'责任人' %><%=f.collection_select(:conventioner_id,@dine.event.workers,:id,:name)%><br clear="all"/>
        </div>
      <div class="buttons">
      <div class="lt_button">
        <%= f.submit '保存宴请信息',:class=>'submit'%> | <%=link_to_remote '取消编辑',:update=>"edit_place_#{@dine.id}",:url=>{:controller=>'dines',:action=>'hide_edit',:id=>@dine.id},:class=>'button'%>
      </div>
    </div>
  <%end%>
</td>